<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SDL_gpu: SDL_gpu_OpenGL_3.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_gpu
   &#160;<span id="projectnumber">0.10.0</span>
   </div>
   <div id="projectbrief">A hardware-accelerated, cross-platform 2D graphics API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">SDL_gpu_OpenGL_3.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="SDL__gpu__OpenGL__3_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef _SDL_GPU_OPENGL_3_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define _SDL_GPU_OPENGL_3_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="SDL__gpu_8h.html">SDL_gpu.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#if !defined(SDL_GPU_DISABLE_OPENGL) &amp;&amp; !defined(SDL_GPU_DISABLE_OPENGL_3)</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;    <span class="comment">// Hacks to fix compile errors due to polluted namespace</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">    #ifdef _WIN32</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">    #define _WINUSER_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">    #define _WINGDI_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">    #endif</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">    #include &quot;glew.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;        </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_bgr) &amp;&amp; !defined(GL_BGR)</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">                #define GL_BGR GL_BGR_EXT</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_bgra) &amp;&amp; !defined(GL_BGRA)</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">                #define GL_BGRA GL_BGRA_EXT</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_abgr) &amp;&amp; !defined(GL_ABGR)</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">                #define GL_ABGR GL_ABGR_EXT</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__3_8h_a1bf6b3961fe68fd88f4193171cd8b562.html#a1bf6b3961fe68fd88f4193171cd8b562">   28</a></span>&#160;<span class="preprocessor">#define GPU_CONTEXT_DATA ContextData_OpenGL_3</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__3_8h_a1d1b62a2205012b1bf4b31be01d035a0.html#a1d1b62a2205012b1bf4b31be01d035a0">   29</a></span>&#160;<span class="preprocessor">#define GPU_IMAGE_DATA ImageData_OpenGL_3</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__3_8h_aebe253840844f9b0fd251adc99dbff85.html#aebe253840844f9b0fd251adc99dbff85">   30</a></span>&#160;<span class="preprocessor">#define GPU_TARGET_DATA TargetData_OpenGL_3</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__3_8h_a6f074b94e7b792cb90aeae8350699869.html#a6f074b94e7b792cb90aeae8350699869">   33</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_TEXTURED_VERTEX_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">&quot;#version 130\n\</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">in vec2 gpu_Vertex;\n\</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">in vec2 gpu_TexCoord;\n\</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">in vec4 gpu_Color;\n\</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">uniform mat4 gpu_ModelViewProjectionMatrix;\n\</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">out vec4 color;\n\</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">out vec2 texCoord;\n\</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">        color = gpu_Color;\n\</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">        texCoord = vec2(gpu_TexCoord);\n\</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">        gl_Position = gpu_ModelViewProjectionMatrix * vec4(gpu_Vertex, 0.0, 1.0);\n\</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment">// Tier 3 uses shader attributes to send position, texcoord, and color data for each vertex.</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__3_8h_a5ca2cd32859512a50e648cf8c574be99.html#a5ca2cd32859512a50e648cf8c574be99">   52</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_UNTEXTURED_VERTEX_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor">&quot;#version 130\n\</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">in vec2 gpu_Vertex;\n\</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">in vec4 gpu_Color;\n\</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">uniform mat4 gpu_ModelViewProjectionMatrix;\n\</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">out vec4 color;\n\</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor">        color = gpu_Color;\n\</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">        gl_Position = gpu_ModelViewProjectionMatrix * vec4(gpu_Vertex, 0.0, 1.0);\n\</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__3_8h_ab6ac7d1112d6fc0f799e24b6f76ea58d.html#ab6ac7d1112d6fc0f799e24b6f76ea58d">   68</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_TEXTURED_FRAGMENT_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="preprocessor">&quot;#version 130\n\</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="preprocessor">in vec4 color;\n\</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">in vec2 texCoord;\n\</span></div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">uniform sampler2D tex;\n\</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">    gl_FragColor = texture2D(tex, texCoord) * color;\n\</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__3_8h_a75d7e5e1cac6abd27d81b61fbdea224b.html#a75d7e5e1cac6abd27d81b61fbdea224b">   81</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_UNTEXTURED_FRAGMENT_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">&quot;#version 130\n\</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">in vec4 color;\n\</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="preprocessor">    gl_FragColor = color;\n\</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3.html">   92</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structContextData__OpenGL__3.html">ContextData_OpenGL_3</a></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;{</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a60c0ec65398d2f0ed29c378822c1bd5f.html#a60c0ec65398d2f0ed29c378822c1bd5f">   94</a></span>&#160;        SDL_Color <a class="code" href="structContextData__OpenGL__3_a60c0ec65398d2f0ed29c378822c1bd5f.html#a60c0ec65398d2f0ed29c378822c1bd5f">last_color</a>;</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a8f4e6a3321842388346006ec0a7c1a94.html#a8f4e6a3321842388346006ec0a7c1a94">   95</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__3_a8f4e6a3321842388346006ec0a7c1a94.html#a8f4e6a3321842388346006ec0a7c1a94">last_use_texturing</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a39aa4111bff9a770bc56795546f4ac5c.html#a39aa4111bff9a770bc56795546f4ac5c">   96</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__3_a39aa4111bff9a770bc56795546f4ac5c.html#a39aa4111bff9a770bc56795546f4ac5c">last_shape</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a060a14ee550f5c0f8c5746731f5ca7bc.html#a060a14ee550f5c0f8c5746731f5ca7bc">   97</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__3_a060a14ee550f5c0f8c5746731f5ca7bc.html#a060a14ee550f5c0f8c5746731f5ca7bc">last_use_blending</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a8692bda9db7b44bb7ad2f2d90db6afed.html#a8692bda9db7b44bb7ad2f2d90db6afed">   98</a></span>&#160;        <a class="code" href="structGPU__BlendMode.html">GPU_BlendMode</a> <a class="code" href="structContextData__OpenGL__3_a8692bda9db7b44bb7ad2f2d90db6afed.html#a8692bda9db7b44bb7ad2f2d90db6afed">last_blend_mode</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a0403d62b499fe2cc992c4250f947dc3f.html#a0403d62b499fe2cc992c4250f947dc3f">   99</a></span>&#160;        <a class="code" href="structGPU__Rect.html">GPU_Rect</a> <a class="code" href="structContextData__OpenGL__3_a0403d62b499fe2cc992c4250f947dc3f.html#a0403d62b499fe2cc992c4250f947dc3f">last_viewport</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_ab80dffe56f520020fd6817f3f0cb29c1.html#ab80dffe56f520020fd6817f3f0cb29c1">  100</a></span>&#160;        <a class="code" href="structGPU__Camera.html">GPU_Camera</a> <a class="code" href="structContextData__OpenGL__3_ab80dffe56f520020fd6817f3f0cb29c1.html#ab80dffe56f520020fd6817f3f0cb29c1">last_camera</a>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a2ac1b072e12b6b9a0f36b64b42e33bf8.html#a2ac1b072e12b6b9a0f36b64b42e33bf8">  101</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__3_a2ac1b072e12b6b9a0f36b64b42e33bf8.html#a2ac1b072e12b6b9a0f36b64b42e33bf8">last_camera_inverted</a>;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a1c57ba1f97cc61a1675139eb8fb83f38.html#a1c57ba1f97cc61a1675139eb8fb83f38">  103</a></span>&#160;        <a class="code" href="structGPU__Image.html">GPU_Image</a>* <a class="code" href="structContextData__OpenGL__3_a1c57ba1f97cc61a1675139eb8fb83f38.html#a1c57ba1f97cc61a1675139eb8fb83f38">last_image</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_aa444a31c432019290eea2144079b5dae.html#aa444a31c432019290eea2144079b5dae">  104</a></span>&#160;        <a class="code" href="structGPU__Target.html">GPU_Target</a>* <a class="code" href="structContextData__OpenGL__3_aa444a31c432019290eea2144079b5dae.html#aa444a31c432019290eea2144079b5dae">last_target</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_aa0fd2e2abcf403f50d060724fe1d599f.html#aa0fd2e2abcf403f50d060724fe1d599f">  105</a></span>&#160;        <span class="keywordtype">float</span>* <a class="code" href="structContextData__OpenGL__3_aa0fd2e2abcf403f50d060724fe1d599f.html#aa0fd2e2abcf403f50d060724fe1d599f">blit_buffer</a>;  <span class="comment">// Holds sets of 4 vertices, each with interleaved position, tex coords, and colors (e.g. [x0, y0, z0, s0, t0, r0, g0, b0, a0, ...]).</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a55778fc7d72cf44089720c65d24b6c0d.html#a55778fc7d72cf44089720c65d24b6c0d">  106</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structContextData__OpenGL__3_a55778fc7d72cf44089720c65d24b6c0d.html#a55778fc7d72cf44089720c65d24b6c0d">blit_buffer_num_vertices</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a142a27b7280604d4673b0761423376f0.html#a142a27b7280604d4673b0761423376f0">  107</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structContextData__OpenGL__3_a142a27b7280604d4673b0761423376f0.html#a142a27b7280604d4673b0761423376f0">blit_buffer_max_num_vertices</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a4de9ecbbbbf3e74937acb08794a4fcce.html#a4de9ecbbbbf3e74937acb08794a4fcce">  108</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>* <a class="code" href="structContextData__OpenGL__3_a4de9ecbbbbf3e74937acb08794a4fcce.html#a4de9ecbbbbf3e74937acb08794a4fcce">index_buffer</a>;  <span class="comment">// Indexes into the blit buffer so we can use 4 vertices for every 2 triangles (1 quad)</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a0e2ccd594d28c3efeaba9487c61f1551.html#a0e2ccd594d28c3efeaba9487c61f1551">  109</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__3_a0e2ccd594d28c3efeaba9487c61f1551.html#a0e2ccd594d28c3efeaba9487c61f1551">index_buffer_num_vertices</a>;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_aab427302fc8b057514bf7f4c994ed378.html#aab427302fc8b057514bf7f4c994ed378">  110</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__3_aab427302fc8b057514bf7f4c994ed378.html#aab427302fc8b057514bf7f4c994ed378">index_buffer_max_num_vertices</a>;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="comment">// Tier 3 rendering</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_acd8db2b334b290dba6b692dada2002e6.html#acd8db2b334b290dba6b692dada2002e6">  113</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__3_acd8db2b334b290dba6b692dada2002e6.html#acd8db2b334b290dba6b692dada2002e6">blit_VAO</a>;</div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a82dc77a4394256cd2b0c33750e67bed7.html#a82dc77a4394256cd2b0c33750e67bed7">  114</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__3_a82dc77a4394256cd2b0c33750e67bed7.html#a82dc77a4394256cd2b0c33750e67bed7">blit_VBO</a>[2];  <span class="comment">// For double-buffering</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a4b8a60a3f61991b866ed4798e41a4fb5.html#a4b8a60a3f61991b866ed4798e41a4fb5">  115</a></span>&#160;    Uint8 <a class="code" href="structContextData__OpenGL__3_a4b8a60a3f61991b866ed4798e41a4fb5.html#a4b8a60a3f61991b866ed4798e41a4fb5">blit_VBO_flop</a>;</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a46ec4072ab40008337600675b6ab8d78.html#a46ec4072ab40008337600675b6ab8d78">  116</a></span>&#160;    <a class="code" href="structGPU__ShaderBlock.html">GPU_ShaderBlock</a> <a class="code" href="structContextData__OpenGL__3_a46ec4072ab40008337600675b6ab8d78.html#a46ec4072ab40008337600675b6ab8d78">shader_block</a>[2];</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_ae58f3da1398aea03dd605d94c6470da1.html#ae58f3da1398aea03dd605d94c6470da1">  117</a></span>&#160;    <a class="code" href="structGPU__ShaderBlock.html">GPU_ShaderBlock</a> <a class="code" href="structContextData__OpenGL__3_ae58f3da1398aea03dd605d94c6470da1.html#ae58f3da1398aea03dd605d94c6470da1">current_shader_block</a>;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    </div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a5404790482ddb41a407ceb5355758af5.html#a5404790482ddb41a407ceb5355758af5">  119</a></span>&#160;        <a class="code" href="structGPU__AttributeSource.html">GPU_AttributeSource</a> <a class="code" href="structContextData__OpenGL__3_a5404790482ddb41a407ceb5355758af5.html#a5404790482ddb41a407ceb5355758af5">shader_attributes</a>[16];</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__3_a5a6da2580f31c78127d5394e15850548.html#a5a6da2580f31c78127d5394e15850548">  120</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__3_a5a6da2580f31c78127d5394e15850548.html#a5a6da2580f31c78127d5394e15850548">attribute_VBO</a>[16];</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;} <a class="code" href="structContextData__OpenGL__3.html">ContextData_OpenGL_3</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__3.html">  123</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structImageData__OpenGL__3.html">ImageData_OpenGL_3</a></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;{</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__3_a36846f861c1706e3cdfc8e62521e962a.html#a36846f861c1706e3cdfc8e62521e962a">  125</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structImageData__OpenGL__3_a36846f861c1706e3cdfc8e62521e962a.html#a36846f861c1706e3cdfc8e62521e962a">refcount</a>;</div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__3_a2593ca7b696d8dd42b16d1c7301925ab.html#a2593ca7b696d8dd42b16d1c7301925ab">  126</a></span>&#160;    Uint8 <a class="code" href="structImageData__OpenGL__3_a2593ca7b696d8dd42b16d1c7301925ab.html#a2593ca7b696d8dd42b16d1c7301925ab">owns_handle</a>;</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__3_a39e02e3d055155e339e6465af03e7a74.html#a39e02e3d055155e339e6465af03e7a74">  127</a></span>&#160;        Uint32 <a class="code" href="structImageData__OpenGL__3_a39e02e3d055155e339e6465af03e7a74.html#a39e02e3d055155e339e6465af03e7a74">handle</a>;</div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__3_a1a3e5478a9e2a1a5f5a88eedfbd050fd.html#a1a3e5478a9e2a1a5f5a88eedfbd050fd">  128</a></span>&#160;        Uint32 <a class="code" href="structImageData__OpenGL__3_a1a3e5478a9e2a1a5f5a88eedfbd050fd.html#a1a3e5478a9e2a1a5f5a88eedfbd050fd">format</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;} <a class="code" href="structImageData__OpenGL__3.html">ImageData_OpenGL_3</a>;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__3.html">  131</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structTargetData__OpenGL__3.html">TargetData_OpenGL_3</a></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;{</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__3_a4ec61727ac3817feb2e0d0832e1c03cf.html#a4ec61727ac3817feb2e0d0832e1c03cf">  133</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structTargetData__OpenGL__3_a4ec61727ac3817feb2e0d0832e1c03cf.html#a4ec61727ac3817feb2e0d0832e1c03cf">refcount</a>;</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__3_ada33ef5fe9cc98a1dd820e91207bd88f.html#ada33ef5fe9cc98a1dd820e91207bd88f">  134</a></span>&#160;        Uint32 <a class="code" href="structTargetData__OpenGL__3_ada33ef5fe9cc98a1dd820e91207bd88f.html#ada33ef5fe9cc98a1dd820e91207bd88f">handle</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__3_a1119192b07f6b0540f6f2329dead7ef6.html#a1119192b07f6b0540f6f2329dead7ef6">  135</a></span>&#160;        Uint32 <a class="code" href="structTargetData__OpenGL__3_a1119192b07f6b0540f6f2329dead7ef6.html#a1119192b07f6b0540f6f2329dead7ef6">format</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;} <a class="code" href="structTargetData__OpenGL__3.html">TargetData_OpenGL_3</a>;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="structGPU__AttributeSource_html"><div class="ttname"><a href="structGPU__AttributeSource.html">GPU_AttributeSource</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:495</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a5a6da2580f31c78127d5394e15850548_html_a5a6da2580f31c78127d5394e15850548"><div class="ttname"><a href="structContextData__OpenGL__3_a5a6da2580f31c78127d5394e15850548.html#a5a6da2580f31c78127d5394e15850548">ContextData_OpenGL_3::attribute_VBO</a></div><div class="ttdeci">unsigned int attribute_VBO[16]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:120</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a4b8a60a3f61991b866ed4798e41a4fb5_html_a4b8a60a3f61991b866ed4798e41a4fb5"><div class="ttname"><a href="structContextData__OpenGL__3_a4b8a60a3f61991b866ed4798e41a4fb5.html#a4b8a60a3f61991b866ed4798e41a4fb5">ContextData_OpenGL_3::blit_VBO_flop</a></div><div class="ttdeci">Uint8 blit_VBO_flop</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:115</div></div>
<div class="ttc" id="structGPU__Camera_html"><div class="ttname"><a href="structGPU__Camera.html">GPU_Camera</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:253</div></div>
<div class="ttc" id="structContextData__OpenGL__3_aa0fd2e2abcf403f50d060724fe1d599f_html_aa0fd2e2abcf403f50d060724fe1d599f"><div class="ttname"><a href="structContextData__OpenGL__3_aa0fd2e2abcf403f50d060724fe1d599f.html#aa0fd2e2abcf403f50d060724fe1d599f">ContextData_OpenGL_3::blit_buffer</a></div><div class="ttdeci">float * blit_buffer</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:105</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a142a27b7280604d4673b0761423376f0_html_a142a27b7280604d4673b0761423376f0"><div class="ttname"><a href="structContextData__OpenGL__3_a142a27b7280604d4673b0761423376f0.html#a142a27b7280604d4673b0761423376f0">ContextData_OpenGL_3::blit_buffer_max_num_vertices</a></div><div class="ttdeci">unsigned short blit_buffer_max_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:107</div></div>
<div class="ttc" id="structImageData__OpenGL__3_a1a3e5478a9e2a1a5f5a88eedfbd050fd_html_a1a3e5478a9e2a1a5f5a88eedfbd050fd"><div class="ttname"><a href="structImageData__OpenGL__3_a1a3e5478a9e2a1a5f5a88eedfbd050fd.html#a1a3e5478a9e2a1a5f5a88eedfbd050fd">ImageData_OpenGL_3::format</a></div><div class="ttdeci">Uint32 format</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:128</div></div>
<div class="ttc" id="structGPU__ShaderBlock_html"><div class="ttname"><a href="structGPU__ShaderBlock.html">GPU_ShaderBlock</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:266</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a5404790482ddb41a407ceb5355758af5_html_a5404790482ddb41a407ceb5355758af5"><div class="ttname"><a href="structContextData__OpenGL__3_a5404790482ddb41a407ceb5355758af5.html#a5404790482ddb41a407ceb5355758af5">ContextData_OpenGL_3::shader_attributes</a></div><div class="ttdeci">GPU_AttributeSource shader_attributes[16]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:119</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a46ec4072ab40008337600675b6ab8d78_html_a46ec4072ab40008337600675b6ab8d78"><div class="ttname"><a href="structContextData__OpenGL__3_a46ec4072ab40008337600675b6ab8d78.html#a46ec4072ab40008337600675b6ab8d78">ContextData_OpenGL_3::shader_block</a></div><div class="ttdeci">GPU_ShaderBlock shader_block[2]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:116</div></div>
<div class="ttc" id="structImageData__OpenGL__3_html"><div class="ttname"><a href="structImageData__OpenGL__3.html">ImageData_OpenGL_3</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:123</div></div>
<div class="ttc" id="SDL__gpu_8h_html"><div class="ttname"><a href="SDL__gpu_8h.html">SDL_gpu.h</a></div></div>
<div class="ttc" id="structContextData__OpenGL__3_a60c0ec65398d2f0ed29c378822c1bd5f_html_a60c0ec65398d2f0ed29c378822c1bd5f"><div class="ttname"><a href="structContextData__OpenGL__3_a60c0ec65398d2f0ed29c378822c1bd5f.html#a60c0ec65398d2f0ed29c378822c1bd5f">ContextData_OpenGL_3::last_color</a></div><div class="ttdeci">SDL_Color last_color</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:94</div></div>
<div class="ttc" id="structContextData__OpenGL__3_aa444a31c432019290eea2144079b5dae_html_aa444a31c432019290eea2144079b5dae"><div class="ttname"><a href="structContextData__OpenGL__3_aa444a31c432019290eea2144079b5dae.html#aa444a31c432019290eea2144079b5dae">ContextData_OpenGL_3::last_target</a></div><div class="ttdeci">GPU_Target * last_target</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:104</div></div>
<div class="ttc" id="structTargetData__OpenGL__3_ada33ef5fe9cc98a1dd820e91207bd88f_html_ada33ef5fe9cc98a1dd820e91207bd88f"><div class="ttname"><a href="structTargetData__OpenGL__3_ada33ef5fe9cc98a1dd820e91207bd88f.html#ada33ef5fe9cc98a1dd820e91207bd88f">TargetData_OpenGL_3::handle</a></div><div class="ttdeci">Uint32 handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:134</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a2ac1b072e12b6b9a0f36b64b42e33bf8_html_a2ac1b072e12b6b9a0f36b64b42e33bf8"><div class="ttname"><a href="structContextData__OpenGL__3_a2ac1b072e12b6b9a0f36b64b42e33bf8.html#a2ac1b072e12b6b9a0f36b64b42e33bf8">ContextData_OpenGL_3::last_camera_inverted</a></div><div class="ttdeci">Uint8 last_camera_inverted</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:101</div></div>
<div class="ttc" id="structTargetData__OpenGL__3_a1119192b07f6b0540f6f2329dead7ef6_html_a1119192b07f6b0540f6f2329dead7ef6"><div class="ttname"><a href="structTargetData__OpenGL__3_a1119192b07f6b0540f6f2329dead7ef6.html#a1119192b07f6b0540f6f2329dead7ef6">TargetData_OpenGL_3::format</a></div><div class="ttdeci">Uint32 format</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:135</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a0403d62b499fe2cc992c4250f947dc3f_html_a0403d62b499fe2cc992c4250f947dc3f"><div class="ttname"><a href="structContextData__OpenGL__3_a0403d62b499fe2cc992c4250f947dc3f.html#a0403d62b499fe2cc992c4250f947dc3f">ContextData_OpenGL_3::last_viewport</a></div><div class="ttdeci">GPU_Rect last_viewport</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:99</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a8f4e6a3321842388346006ec0a7c1a94_html_a8f4e6a3321842388346006ec0a7c1a94"><div class="ttname"><a href="structContextData__OpenGL__3_a8f4e6a3321842388346006ec0a7c1a94.html#a8f4e6a3321842388346006ec0a7c1a94">ContextData_OpenGL_3::last_use_texturing</a></div><div class="ttdeci">Uint8 last_use_texturing</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:95</div></div>
<div class="ttc" id="structGPU__BlendMode_html"><div class="ttname"><a href="structGPU__BlendMode.html">GPU_BlendMode</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:133</div></div>
<div class="ttc" id="structGPU__Target_html"><div class="ttname"><a href="structGPU__Target.html">GPU_Target</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:343</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a82dc77a4394256cd2b0c33750e67bed7_html_a82dc77a4394256cd2b0c33750e67bed7"><div class="ttname"><a href="structContextData__OpenGL__3_a82dc77a4394256cd2b0c33750e67bed7.html#a82dc77a4394256cd2b0c33750e67bed7">ContextData_OpenGL_3::blit_VBO</a></div><div class="ttdeci">unsigned int blit_VBO[2]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:114</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a0e2ccd594d28c3efeaba9487c61f1551_html_a0e2ccd594d28c3efeaba9487c61f1551"><div class="ttname"><a href="structContextData__OpenGL__3_a0e2ccd594d28c3efeaba9487c61f1551.html#a0e2ccd594d28c3efeaba9487c61f1551">ContextData_OpenGL_3::index_buffer_num_vertices</a></div><div class="ttdeci">unsigned int index_buffer_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:109</div></div>
<div class="ttc" id="structContextData__OpenGL__3_acd8db2b334b290dba6b692dada2002e6_html_acd8db2b334b290dba6b692dada2002e6"><div class="ttname"><a href="structContextData__OpenGL__3_acd8db2b334b290dba6b692dada2002e6.html#acd8db2b334b290dba6b692dada2002e6">ContextData_OpenGL_3::blit_VAO</a></div><div class="ttdeci">unsigned int blit_VAO</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:113</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a55778fc7d72cf44089720c65d24b6c0d_html_a55778fc7d72cf44089720c65d24b6c0d"><div class="ttname"><a href="structContextData__OpenGL__3_a55778fc7d72cf44089720c65d24b6c0d.html#a55778fc7d72cf44089720c65d24b6c0d">ContextData_OpenGL_3::blit_buffer_num_vertices</a></div><div class="ttdeci">unsigned short blit_buffer_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:106</div></div>
<div class="ttc" id="structContextData__OpenGL__3_ae58f3da1398aea03dd605d94c6470da1_html_ae58f3da1398aea03dd605d94c6470da1"><div class="ttname"><a href="structContextData__OpenGL__3_ae58f3da1398aea03dd605d94c6470da1.html#ae58f3da1398aea03dd605d94c6470da1">ContextData_OpenGL_3::current_shader_block</a></div><div class="ttdeci">GPU_ShaderBlock current_shader_block</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:117</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a060a14ee550f5c0f8c5746731f5ca7bc_html_a060a14ee550f5c0f8c5746731f5ca7bc"><div class="ttname"><a href="structContextData__OpenGL__3_a060a14ee550f5c0f8c5746731f5ca7bc.html#a060a14ee550f5c0f8c5746731f5ca7bc">ContextData_OpenGL_3::last_use_blending</a></div><div class="ttdeci">Uint8 last_use_blending</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:97</div></div>
<div class="ttc" id="structGPU__Image_html"><div class="ttname"><a href="structGPU__Image.html">GPU_Image</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:222</div></div>
<div class="ttc" id="structContextData__OpenGL__3_ab80dffe56f520020fd6817f3f0cb29c1_html_ab80dffe56f520020fd6817f3f0cb29c1"><div class="ttname"><a href="structContextData__OpenGL__3_ab80dffe56f520020fd6817f3f0cb29c1.html#ab80dffe56f520020fd6817f3f0cb29c1">ContextData_OpenGL_3::last_camera</a></div><div class="ttdeci">GPU_Camera last_camera</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:100</div></div>
<div class="ttc" id="structImageData__OpenGL__3_a39e02e3d055155e339e6465af03e7a74_html_a39e02e3d055155e339e6465af03e7a74"><div class="ttname"><a href="structImageData__OpenGL__3_a39e02e3d055155e339e6465af03e7a74.html#a39e02e3d055155e339e6465af03e7a74">ImageData_OpenGL_3::handle</a></div><div class="ttdeci">Uint32 handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:127</div></div>
<div class="ttc" id="structTargetData__OpenGL__3_a4ec61727ac3817feb2e0d0832e1c03cf_html_a4ec61727ac3817feb2e0d0832e1c03cf"><div class="ttname"><a href="structTargetData__OpenGL__3_a4ec61727ac3817feb2e0d0832e1c03cf.html#a4ec61727ac3817feb2e0d0832e1c03cf">TargetData_OpenGL_3::refcount</a></div><div class="ttdeci">int refcount</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:133</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a8692bda9db7b44bb7ad2f2d90db6afed_html_a8692bda9db7b44bb7ad2f2d90db6afed"><div class="ttname"><a href="structContextData__OpenGL__3_a8692bda9db7b44bb7ad2f2d90db6afed.html#a8692bda9db7b44bb7ad2f2d90db6afed">ContextData_OpenGL_3::last_blend_mode</a></div><div class="ttdeci">GPU_BlendMode last_blend_mode</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:98</div></div>
<div class="ttc" id="structContextData__OpenGL__3_html"><div class="ttname"><a href="structContextData__OpenGL__3.html">ContextData_OpenGL_3</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:92</div></div>
<div class="ttc" id="structImageData__OpenGL__3_a36846f861c1706e3cdfc8e62521e962a_html_a36846f861c1706e3cdfc8e62521e962a"><div class="ttname"><a href="structImageData__OpenGL__3_a36846f861c1706e3cdfc8e62521e962a.html#a36846f861c1706e3cdfc8e62521e962a">ImageData_OpenGL_3::refcount</a></div><div class="ttdeci">int refcount</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:125</div></div>
<div class="ttc" id="structContextData__OpenGL__3_aab427302fc8b057514bf7f4c994ed378_html_aab427302fc8b057514bf7f4c994ed378"><div class="ttname"><a href="structContextData__OpenGL__3_aab427302fc8b057514bf7f4c994ed378.html#aab427302fc8b057514bf7f4c994ed378">ContextData_OpenGL_3::index_buffer_max_num_vertices</a></div><div class="ttdeci">unsigned int index_buffer_max_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:110</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a4de9ecbbbbf3e74937acb08794a4fcce_html_a4de9ecbbbbf3e74937acb08794a4fcce"><div class="ttname"><a href="structContextData__OpenGL__3_a4de9ecbbbbf3e74937acb08794a4fcce.html#a4de9ecbbbbf3e74937acb08794a4fcce">ContextData_OpenGL_3::index_buffer</a></div><div class="ttdeci">unsigned short * index_buffer</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:108</div></div>
<div class="ttc" id="structTargetData__OpenGL__3_html"><div class="ttname"><a href="structTargetData__OpenGL__3.html">TargetData_OpenGL_3</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:131</div></div>
<div class="ttc" id="structGPU__Rect_html"><div class="ttname"><a href="structGPU__Rect.html">GPU_Rect</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:61</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a1c57ba1f97cc61a1675139eb8fb83f38_html_a1c57ba1f97cc61a1675139eb8fb83f38"><div class="ttname"><a href="structContextData__OpenGL__3_a1c57ba1f97cc61a1675139eb8fb83f38.html#a1c57ba1f97cc61a1675139eb8fb83f38">ContextData_OpenGL_3::last_image</a></div><div class="ttdeci">GPU_Image * last_image</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:103</div></div>
<div class="ttc" id="structImageData__OpenGL__3_a2593ca7b696d8dd42b16d1c7301925ab_html_a2593ca7b696d8dd42b16d1c7301925ab"><div class="ttname"><a href="structImageData__OpenGL__3_a2593ca7b696d8dd42b16d1c7301925ab.html#a2593ca7b696d8dd42b16d1c7301925ab">ImageData_OpenGL_3::owns_handle</a></div><div class="ttdeci">Uint8 owns_handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:126</div></div>
<div class="ttc" id="structContextData__OpenGL__3_a39aa4111bff9a770bc56795546f4ac5c_html_a39aa4111bff9a770bc56795546f4ac5c"><div class="ttname"><a href="structContextData__OpenGL__3_a39aa4111bff9a770bc56795546f4ac5c.html#a39aa4111bff9a770bc56795546f4ac5c">ContextData_OpenGL_3::last_shape</a></div><div class="ttdeci">unsigned int last_shape</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_3.h:96</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 11 2015 20:10:37 for SDL_gpu by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
